hide header react navigation

96

how to hide header in react navigation -

<Stack.Navigator
  screenOptions={{
    headerShown: false
  }}
>
  <Stack.Screen name="route-name" component={ScreenComponent} />
</Stack.Navigator>

reactnavigation 5 hide header -

<Stack.Navigator
  screenOptions={{
    headerShown: false
  }}
>
  <Stack.Screen name="route-name" component={ScreenComponent} />
</Stack.Navigator>

How To Hide React Navigation Header in React Native -

<Stack.Screen options={{headerShown: false}} name="route-name" component={ScreenComponent} />

Comments

Submit
0 Comments